package com.caesar.Test;

import com.caesar.method_fa.Person;
import com.caesar.method_son.Student;
import com.caesar.method_son.Teacher;

/**
 * @author caesar
 * @date 2025/7/7
 * @Description:
 * @apiNote
 */
public class TestPeople {
    public static void main(String[] args) {
        Person p = new Person("张三",23,'男');
        System.out.println(p);

        Student s = new Student("李四",20,'男',90);
        System.out.println(s);

        Teacher t = new Teacher("王五",36,'男',50000);
        System.out.println(t);
    }
}
